Pop

constructor(to: <Error class: unknown class>? = null, animated: Boolean = true, completion: () -> Unit? = null)

Parameters

to

Optional UIViewController to pop to. If not provided the viewcontroller on top is popped.

animated

Specifies whether transition should be animated

completion

Optional function to call when pop has completed